package com.linjj.seckill.service;

import com.linjj.seckill.domain.Order;
import com.linjj.seckill.domain.SeckillOrder;
import com.linjj.seckill.domain.User;
import com.linjj.seckill.vo.OrderDetailVo;
import com.linjj.seckill.vo.SeckillGoodsVo;
import java.util.List;

public interface IOrderService {
    public List<OrderDetailVo> getUserOrders(User user);
    public OrderDetailVo getOrderDetailVoByOrderId(long orderId);
    public Order createOrder(User user, SeckillGoodsVo seckillVo,String address);
    public SeckillOrder getSeckillOrderByUserIdAndGoodsId(long userId, long goodsIds);
}
